package com.example.shiro.core.repository;

import com.example.shiro.core.bean.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 *  UserInfo持久化类;
 * Created by Administrator on 2017/1/15 0015.
 */
public interface UserInfoRepository extends CrudRepository<UserInfo,Long> {
    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
}
